bin_PROGRAMS = orage

orage_SOURCES =							\
	$(orage_built_sources)					\
	about-xfcalendar.c					\
	about-xfcalendar.h					\
	appointment.c						\
	appointment.h						\
	day-view.c						\
	day-view.h						\
	event-list.c						\
	event-list.h						\
	functions.c						\
	functions.h						\
	ical-archive.c						\
	ical-code.c						\
	ical-code.h						\
	ical-internal.h						\
	ical-expimp.c						\
	ical-expimp.h						\
	interface.c						\
	interface.h						\
	main.c							\
	mainbox.c						\
	mainbox.h						\
	orage-alarm-structure.h					\
	orage-alarm-structure.c					\
	orage-application.c					\
	orage-application.h					\
	orage-css.c						\
	orage-css.h						\
	orage-i18n.h						\
	orage-rc-file.c						\
	orage-rc-file.h						\
	parameters.c						\
	parameters.h						\
	parameters_internal.h					\
	reminder.c						\
	reminder.h						\
	timezone_names.c					\
	timezone_selection.c					\
	timezone_selection.h					\
	tz_zoneinfo_read.c					\
	tz_zoneinfo_read.h					\
	xfical_exception.c					\
	xfical_exception.h

if HAVE_X11_TRAY_ICON
orage_SOURCES +=						\
	tray_icon.c						\
	tray_icon.h
endif
	
orage_CPPFLAGS =						\
	-DPACKAGE_DATA_DIR=\""$(datadir)"\"			\
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\"			\
	-DG_LOG_DOMAIN=\"orage\"

orage_CFLAGS =							\
	$(LIBGTK_CFLAGS)					\
	$(LIBX11_CFLAGS)					\
	$(LIBXFCE4UTIL_CFLAGS)					\
	$(LIBICAL_CFLAGS)					\
	$(GIO_CFLAGS)

orage_LDADD =							\
	$(LIBGTK_LIBS)						\
	$(LIBX11_LIBS)						\
	$(LIBXFCE4UTIL_LIBS)					\
	$(LIBICAL_LIBS)						\
	$(GIO_LIBS)						\
	-lm							\
	$(INTLLIBS)

if HAVE_NOTIFY
orage_LDADD +=							\
	$(NOTIFY_LIBS)
endif

if HAVE_LIBXFCE4UI
orage_CFLAGS +=							\
	$(LIBXFCE4UI_CFLAGS)
	
orage_LDADD +=							\
	$(LIBXFCE4UI_LIBS)
endif

# vi:set ts=8 sw=8 noet ai:
